KERNEL_DIR = ~/wk/orangepi3/linux
#CROSS_COMPILE = arm-linux-gnueabihf-

obj-m := led.o

# $(warning =============)
# $(warning CURDIR = $(CURDIR))
# $(warning =============)
all:
	$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) modules

clean:                                                                                                        
	make -C $(KERNEL_DIR) M=$(CURDIR) modules clean                                                               
	rm -rf modules.order